<!-- 模块说明 -->
<template>
    <div class="top">
        <van-icon @click="router.go(-1)" name="arrow-left" />
        <span>{{ til }}</span>
        <van-icon name="browsing-history" />
    </div>
</template>

<script setup lang="ts">
import { ref, onMounted, defineProps } from 'vue'
import { useRouter } from 'vue-router';
const router = useRouter()
const { til } = defineProps({
    til: String,
});
</script>
<style lang="scss" scoped>
.top {
    display: flex;
    justify-content: space-between;
    padding: 15px;
}
</style>
